1 //------------------------------------------------------------------------------
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.488
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
9 //------------------------------------------------------------------------------
11 namespace Pithos.ShellExtensions.PithosService {
14 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
15 [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Status", ConfigurationName="PithosService.IStatusService")]
16 public interface IStatusService {
18 [System.ServiceModel.OperationContractAttribute(Action="http://PITHOS.Client.Status/IStatusService/GetStatus", ReplyAction="http://PITHOS.Client.Status/IStatusService/GetStatusResponse")]
19 Pithos.Interfaces.FileOverlayStatus GetStatus(string filePath);
21 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://PITHOS.Client.Status/IStatusService/GetStatus", ReplyAction="http://PITHOS.Client.Status/IStatusService/GetStatusResponse")]
22 System.IAsyncResult BeginGetStatus(string filePath, System.AsyncCallback callback, object asyncState);
24 Pithos.Interfaces.FileOverlayStatus EndGetStatus(System.IAsyncResult result);
27 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
28 public interface IStatusServiceChannel : Pithos.ShellExtensions.PithosService.IStatusService, System.ServiceModel.IClientChannel {
31 [System.Diagnostics.DebuggerStepThroughAttribute()]
32 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
33 public partial class GetStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
35 private object[] results;
37 public GetStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
38 base(exception, cancelled, userState) {
39 this.results = results;
42 public Pithos.Interfaces.FileOverlayStatus Result {
44 base.RaiseExceptionIfNecessary();
45 return ((Pithos.Interfaces.FileOverlayStatus)(this.results[0]));
50 [System.Diagnostics.DebuggerStepThroughAttribute()]
51 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
52 public partial class StatusServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.IStatusService>, Pithos.ShellExtensions.PithosService.IStatusService {
54 private BeginOperationDelegate onBeginGetStatusDelegate;
56 private EndOperationDelegate onEndGetStatusDelegate;
58 private System.Threading.SendOrPostCallback onGetStatusCompletedDelegate;
60 public StatusServiceClient() {
63 public StatusServiceClient(string endpointConfigurationName) :
64 base(endpointConfigurationName) {
67 public StatusServiceClient(string endpointConfigurationName, string remoteAddress) :
68 base(endpointConfigurationName, remoteAddress) {
71 public StatusServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
72 base(endpointConfigurationName, remoteAddress) {
75 public StatusServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
76 base(binding, remoteAddress) {
79 public event System.EventHandler<GetStatusCompletedEventArgs> GetStatusCompleted;
81 public Pithos.Interfaces.FileOverlayStatus GetStatus(string filePath) {
82 return base.Channel.GetStatus(filePath);
85 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
86 public System.IAsyncResult BeginGetStatus(string filePath, System.AsyncCallback callback, object asyncState) {
87 return base.Channel.BeginGetStatus(filePath, callback, asyncState);
90 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
91 public Pithos.Interfaces.FileOverlayStatus EndGetStatus(System.IAsyncResult result) {
92 return base.Channel.EndGetStatus(result);
95 private System.IAsyncResult OnBeginGetStatus(object[] inValues, System.AsyncCallback callback, object asyncState) {
96 string filePath = ((string)(inValues[0]));
97 return this.BeginGetStatus(filePath, callback, asyncState);
100 private object[] OnEndGetStatus(System.IAsyncResult result) {
101 Pithos.Interfaces.FileOverlayStatus retVal = this.EndGetStatus(result);
102 return new object[] {
106 private void OnGetStatusCompleted(object state) {
107 if ((this.GetStatusCompleted != null)) {
108 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
109 this.GetStatusCompleted(this, new GetStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
113 public void GetStatusAsync(string filePath) {
114 this.GetStatusAsync(filePath, null);
117 public void GetStatusAsync(string filePath, object userState) {
118 if ((this.onBeginGetStatusDelegate == null)) {
119 this.onBeginGetStatusDelegate = new BeginOperationDelegate(this.OnBeginGetStatus);
121 if ((this.onEndGetStatusDelegate == null)) {
122 this.onEndGetStatusDelegate = new EndOperationDelegate(this.OnEndGetStatus);
124 if ((this.onGetStatusCompletedDelegate == null)) {
125 this.onGetStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusCompleted);
127 base.InvokeAsync(this.onBeginGetStatusDelegate, new object[] {
128 filePath}, this.onEndGetStatusDelegate, this.onGetStatusCompletedDelegate, userState);
132 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
133 [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Settings", ConfigurationName="PithosService.ISettingsService")]
134 public interface ISettingsService {
136 [System.ServiceModel.OperationContractAttribute(Action="http://PITHOS.Client.Settings/ISettingsService/GetSettings", ReplyAction="http://PITHOS.Client.Settings/ISettingsService/GetSettingsResponse")]
137 Pithos.Interfaces.PithosSettingsData GetSettings();
139 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://PITHOS.Client.Settings/ISettingsService/GetSettings", ReplyAction="http://PITHOS.Client.Settings/ISettingsService/GetSettingsResponse")]
140 System.IAsyncResult BeginGetSettings(System.AsyncCallback callback, object asyncState);
142 Pithos.Interfaces.PithosSettingsData EndGetSettings(System.IAsyncResult result);
145 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
146 public interface ISettingsServiceChannel : Pithos.ShellExtensions.PithosService.ISettingsService, System.ServiceModel.IClientChannel {
149 [System.Diagnostics.DebuggerStepThroughAttribute()]
150 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
151 public partial class GetSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
153 private object[] results;
155 public GetSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
156 base(exception, cancelled, userState) {
157 this.results = results;
160 public Pithos.Interfaces.PithosSettingsData Result {
162 base.RaiseExceptionIfNecessary();
163 return ((Pithos.Interfaces.PithosSettingsData)(this.results[0]));
168 [System.Diagnostics.DebuggerStepThroughAttribute()]
169 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
170 public partial class SettingsServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.ISettingsService>, Pithos.ShellExtensions.PithosService.ISettingsService {
172 private BeginOperationDelegate onBeginGetSettingsDelegate;
174 private EndOperationDelegate onEndGetSettingsDelegate;
176 private System.Threading.SendOrPostCallback onGetSettingsCompletedDelegate;
178 public SettingsServiceClient() {
181 public SettingsServiceClient(string endpointConfigurationName) :
182 base(endpointConfigurationName) {
185 public SettingsServiceClient(string endpointConfigurationName, string remoteAddress) :
186 base(endpointConfigurationName, remoteAddress) {
189 public SettingsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
190 base(endpointConfigurationName, remoteAddress) {
193 public SettingsServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
194 base(binding, remoteAddress) {
197 public event System.EventHandler<GetSettingsCompletedEventArgs> GetSettingsCompleted;
199 public Pithos.Interfaces.PithosSettingsData GetSettings() {
200 return base.Channel.GetSettings();
203 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
204 public System.IAsyncResult BeginGetSettings(System.AsyncCallback callback, object asyncState) {
205 return base.Channel.BeginGetSettings(callback, asyncState);
208 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
209 public Pithos.Interfaces.PithosSettingsData EndGetSettings(System.IAsyncResult result) {
210 return base.Channel.EndGetSettings(result);
213 private System.IAsyncResult OnBeginGetSettings(object[] inValues, System.AsyncCallback callback, object asyncState) {
214 return this.BeginGetSettings(callback, asyncState);
217 private object[] OnEndGetSettings(System.IAsyncResult result) {
218 Pithos.Interfaces.PithosSettingsData retVal = this.EndGetSettings(result);
219 return new object[] {
223 private void OnGetSettingsCompleted(object state) {
224 if ((this.GetSettingsCompleted != null)) {
225 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
226 this.GetSettingsCompleted(this, new GetSettingsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
230 public void GetSettingsAsync() {
231 this.GetSettingsAsync(null);
234 public void GetSettingsAsync(object userState) {
235 if ((this.onBeginGetSettingsDelegate == null)) {
236 this.onBeginGetSettingsDelegate = new BeginOperationDelegate(this.OnBeginGetSettings);
238 if ((this.onEndGetSettingsDelegate == null)) {
239 this.onEndGetSettingsDelegate = new EndOperationDelegate(this.OnEndGetSettings);
241 if ((this.onGetSettingsCompletedDelegate == null)) {
242 this.onGetSettingsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSettingsCompleted);
244 base.InvokeAsync(this.onBeginGetSettingsDelegate, null, this.onEndGetSettingsDelegate, this.onGetSettingsCompletedDelegate, userState);
248 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
249 [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Commands", ConfigurationName="PithosService.ICommandsService")]
250 public interface ICommandsService {
252 [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://PITHOS.Client.Commands/ICommandsService/ShowProperties")]
253 void ShowProperties(string fileName);
255 [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://PITHOS.Client.Commands/ICommandsService/ShowProperties")]
256 System.IAsyncResult BeginShowProperties(string fileName, System.AsyncCallback callback, object asyncState);
258 void EndShowProperties(System.IAsyncResult result);
260 [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://PITHOS.Client.Commands/ICommandsService/GotoSite")]
261 void GotoSite(string fileName);
263 [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://PITHOS.Client.Commands/ICommandsService/GotoSite")]
264 System.IAsyncResult BeginGotoSite(string fileName, System.AsyncCallback callback, object asyncState);
266 void EndGotoSite(System.IAsyncResult result);
269 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
270 public interface ICommandsServiceChannel : Pithos.ShellExtensions.PithosService.ICommandsService, System.ServiceModel.IClientChannel {
273 [System.Diagnostics.DebuggerStepThroughAttribute()]
274 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
275 public partial class CommandsServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.ICommandsService>, Pithos.ShellExtensions.PithosService.ICommandsService {
277 private BeginOperationDelegate onBeginShowPropertiesDelegate;
279 private EndOperationDelegate onEndShowPropertiesDelegate;
281 private System.Threading.SendOrPostCallback onShowPropertiesCompletedDelegate;
283 private BeginOperationDelegate onBeginGotoSiteDelegate;
285 private EndOperationDelegate onEndGotoSiteDelegate;
287 private System.Threading.SendOrPostCallback onGotoSiteCompletedDelegate;
289 public CommandsServiceClient() {
292 public CommandsServiceClient(string endpointConfigurationName) :
293 base(endpointConfigurationName) {
296 public CommandsServiceClient(string endpointConfigurationName, string remoteAddress) :
297 base(endpointConfigurationName, remoteAddress) {
300 public CommandsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
301 base(endpointConfigurationName, remoteAddress) {
304 public CommandsServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
305 base(binding, remoteAddress) {
308 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShowPropertiesCompleted;
310 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> GotoSiteCompleted;
312 public void ShowProperties(string fileName) {
313 base.Channel.ShowProperties(fileName);
316 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
317 public System.IAsyncResult BeginShowProperties(string fileName, System.AsyncCallback callback, object asyncState) {
318 return base.Channel.BeginShowProperties(fileName, callback, asyncState);
321 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
322 public void EndShowProperties(System.IAsyncResult result) {
323 base.Channel.EndShowProperties(result);
326 private System.IAsyncResult OnBeginShowProperties(object[] inValues, System.AsyncCallback callback, object asyncState) {
327 string fileName = ((string)(inValues[0]));
328 return this.BeginShowProperties(fileName, callback, asyncState);
331 private object[] OnEndShowProperties(System.IAsyncResult result) {
332 this.EndShowProperties(result);
336 private void OnShowPropertiesCompleted(object state) {
337 if ((this.ShowPropertiesCompleted != null)) {
338 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
339 this.ShowPropertiesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
343 public void ShowPropertiesAsync(string fileName) {
344 this.ShowPropertiesAsync(fileName, null);
347 public void ShowPropertiesAsync(string fileName, object userState) {
348 if ((this.onBeginShowPropertiesDelegate == null)) {
349 this.onBeginShowPropertiesDelegate = new BeginOperationDelegate(this.OnBeginShowProperties);
351 if ((this.onEndShowPropertiesDelegate == null)) {
352 this.onEndShowPropertiesDelegate = new EndOperationDelegate(this.OnEndShowProperties);
354 if ((this.onShowPropertiesCompletedDelegate == null)) {
355 this.onShowPropertiesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShowPropertiesCompleted);
357 base.InvokeAsync(this.onBeginShowPropertiesDelegate, new object[] {
358 fileName}, this.onEndShowPropertiesDelegate, this.onShowPropertiesCompletedDelegate, userState);
361 public void GotoSite(string fileName) {
362 base.Channel.GotoSite(fileName);
365 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
366 public System.IAsyncResult BeginGotoSite(string fileName, System.AsyncCallback callback, object asyncState) {
367 return base.Channel.BeginGotoSite(fileName, callback, asyncState);
370 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
371 public void EndGotoSite(System.IAsyncResult result) {
372 base.Channel.EndGotoSite(result);
375 private System.IAsyncResult OnBeginGotoSite(object[] inValues, System.AsyncCallback callback, object asyncState) {
376 string fileName = ((string)(inValues[0]));
377 return this.BeginGotoSite(fileName, callback, asyncState);
380 private object[] OnEndGotoSite(System.IAsyncResult result) {
381 this.EndGotoSite(result);
385 private void OnGotoSiteCompleted(object state) {
386 if ((this.GotoSiteCompleted != null)) {
387 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
388 this.GotoSiteCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
392 public void GotoSiteAsync(string fileName) {
393 this.GotoSiteAsync(fileName, null);
396 public void GotoSiteAsync(string fileName, object userState) {
397 if ((this.onBeginGotoSiteDelegate == null)) {
398 this.onBeginGotoSiteDelegate = new BeginOperationDelegate(this.OnBeginGotoSite);
400 if ((this.onEndGotoSiteDelegate == null)) {
401 this.onEndGotoSiteDelegate = new EndOperationDelegate(this.OnEndGotoSite);
403 if ((this.onGotoSiteCompletedDelegate == null)) {
404 this.onGotoSiteCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGotoSiteCompleted);
406 base.InvokeAsync(this.onBeginGotoSiteDelegate, new object[] {
407 fileName}, this.onEndGotoSiteDelegate, this.onGotoSiteCompletedDelegate, userState);